Skip to content

chore(lib): demote explicit deny logs from Info to Info-1#1323

Open
Xe wants to merge 1 commit intomainfrom
Xe/demote-explicit-deny-logs
Open

chore(lib): demote explicit deny logs from Info to Info-1#1323
Xe wants to merge 1 commit intomainfrom
Xe/demote-explicit-deny-logs

Conversation

@Xe
Copy link
Copy Markdown
Contributor

@Xe Xe commented Dec 4, 2025

Closes: #1322

Checklist:

  • Added a description of the changes to the [Unreleased] section of docs/docs/CHANGELOG.md
  • Added test cases to the relevant parts of the codebase
  • Ran integration tests npm run test:integration (unsupported on Windows, please use WSL)
  • All of my commits have verified signatures

@Xe Xe self-assigned this Dec 4, 2025
@Xe Xe enabled auto-merge (squash) December 4, 2025 04:38
Comment thread lib/anubis.go
case config.RuleDeny:
s.ClearCookie(w, CookieOpts{Path: cookiePath, Host: r.Host})
lg.Info("explicit deny")
lg.Log(r.Context(), slog.LevelInfo-slog.Level(1), "explicit deny")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change log level for "explicit deny" to debug

2 participants